//
//package com.apes.scm.used.model;
//
//import com.apes.framework.jpa.DefaultPersistListener;
//import com.apes.framework.jpa.Model;
//import com.apes.framework.jpa.comment.Comment;
//import com.apes.framework.jpa.generator.ApesGenerator;
//import lombok.Getter;
//import lombok.Setter;
//import org.hibernate.annotations.DynamicInsert;
//import org.hibernate.annotations.DynamicUpdate;
//import org.hibernate.annotations.SelectBeforeUpdate;
//
//import javax.persistence.*;
//import javax.validation.constraints.NotNull;
//
//
///***
// * 旧件收款方式
// * bbyford
// * 2019-12-16
// */
//
//@Getter
//@Setter
//@SelectBeforeUpdate
//@DynamicUpdate
//@DynamicInsert
//@Entity
//@EntityListeners(DefaultPersistListener.class)
//@Table(name = UsedPaymentMethod.CONST_TABLE_NAME)
//public class UsedPaymentMethod extends Model {
//    public static final String CONST_TABLE_NAME = "war_used_payment_method";
//
//    @Id
//    @Column(name = "id", length = 32)
//    @ApesGenerator(code = CONST_TABLE_NAME, name = "旧件收款方式")
//    @Comment("编码")
//    private String id;
//
//    @Comment("出库单号")
//    @NotNull
//    @ManyToOne(optional = false)
//    @JoinColumn(name = "used_deliver_id", referencedColumnName = "id", nullable=false)
//    private UsedDeliver usedDeliver;  // 出库单号
//
//    @Comment("备注")
//    @Column(name = "remark", length = 256)
//    private String remark;  //备注
//
//
//    // TODO: 资金收入编号 收款方式编号   银行账号
//}
//